import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 重置 浏览器默认样式
import 'normalize.css'
import '@/styles/common.less'
// 导入注册全局组件插件
import componentPlugin from '@/components/index'
// 导入注册全局指令插件
import directivePlugin from '@/directives/index.js'
// store.commit('user/setUser')
// createApp(App).use(store).use(router).mount('#app')1+
createApp(App).use(store).use(router).use(componentPlugin).use(directivePlugin).mount('#app')
